package cn.ee.dfs.webservice.entity;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;

/**
 * Description: 工艺信息
 * Created by TWJ on 2019/10/15 0015 0025 下午 2:19 .
 */
public class CraftInfo {
///品型号、零件号、零件名称、零件设计版本号、工艺版本号、主制车间、承制车间、工艺有效性。

    private String productId;
    private String partId;
    private String partName;
    private String partVersion;
    private String craftVersion;//工艺版本号
    private String mainWorkshop;
    private String deputyWorkshop;
    private String craftAvailable;

    public CraftInfo() {
    }

    public CraftInfo(String productId, String partId, String partName, String partVersion, String craftVersion, String mainWorkshop, String deputyWorkshop, String craftAvailable) {
        this.productId = productId;
        this.partId = partId;
        this.partName = partName;
        this.partVersion = partVersion;
        this.craftVersion = craftVersion;
        this.mainWorkshop = mainWorkshop;
        this.deputyWorkshop = deputyWorkshop;
        this.craftAvailable = craftAvailable;
    }



    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getPartId() {
        return partId;
    }

    public void setPartId(String partId) {
        this.partId = partId;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getPartVersion() {
        return partVersion;
    }

    public void setPartVersion(String partVersion) {
        this.partVersion = partVersion;
    }

    public String getCraftVersion() {
        return craftVersion;
    }

    public void setCraftVersion(String craftVersion) {
        this.craftVersion = craftVersion;
    }

    public String getMainWorkshop() {
        return mainWorkshop;
    }

    public void setMainWorkshop(String mainWorkshop) {
        this.mainWorkshop = mainWorkshop;
    }

    public String getDeputyWorkshop() {
        return deputyWorkshop;
    }

    public void setDeputyWorkshop(String deputyWorkshop) {
        this.deputyWorkshop = deputyWorkshop;
    }

    public String getCraftAvailable() {
        return craftAvailable;
    }

    public void setCraftAvailable(String craftAvailable) {
        this.craftAvailable = craftAvailable;
    }

    @Override
    public String toString() {
        return "CraftInfo{" +
                "productId='" + productId + '\'' +
                ", partId='" + partId + '\'' +
                ", partName='" + partName + '\'' +
                ", partVersion='" + partVersion + '\'' +
                ", craftVersion='" + craftVersion + '\'' +
                ", mainWorkshop='" + mainWorkshop + '\'' +
                ", deputyWorkshop='" + deputyWorkshop + '\'' +
                ", craftAvailable='" + craftAvailable + '\'' +
                '}';
    }
}
